﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace YL.Core.Entity
{
    ///<summary>
    ///
    ///</summary>
    public partial class Wms_inventoryPatch
    {
        public Wms_inventoryPatch()
        {
            this.IsDel = Convert.ToByte("1");
            this.CreateDate = DateTime.Now;
        }

        [SugarColumn(IsPrimaryKey = true)]
        public long PatchId { get; set; }
        public string Remark { get; set; }
        public long CreateBy { get; set; }
        public DateTime CreateDate { get; set; }
        public long? ModifiedBy { get; set; }
        public DateTime? ModifiedDate { get; set; }
        public byte? IsDel { get; set; }
    }

    public partial class Wms_inventory
    {
        public Wms_inventory()
        {
            this.IsDel = Convert.ToByte("1");
        }

        [SugarColumn(IsPrimaryKey = true)]
        public long InventoryId { get; set; }
        public long MaterialId { get; set; }
        public string MaterialName { get; set; }
        public double Weight { get; set; }
        public string Unit { get; set; }
        public long PatchId { get; set; }
        public Byte? IsDel { get; set; }
    }
}